import React from 'react'
import { Redirect } from 'react-router-dom'

class Inner extends React.Component {
    render() {
        var isShow = true
        if (isShow) {
            return (
                <Redirect to='/home' />
            )
        } else {
            <p>123</p>
        }
    }
}

export default Inner
